BaseApiResult.cs

24 lines | 575 B Blame History Raw Download
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Web.Models.Base
{
    public class BaseApiResult
    {
        public bool Successe { set; get; }
        public string ResMessage { set; get; }
        public string ActionName { set; get; }


        public bool PermissionError { set; get; }

        public BaseApiResult(bool Successe, string ResMessage, string ActionName)
        {
            this.Successe = Successe;
            this.ResMessage = ResMessage;
            this.ActionName = ActionName;
        }
    }
}