ApiResultModel.cs 571 Bytes
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web;

namespace HHECS.API.Models
{
    public class ApiResultModel
    {
        public ApiResultModel()
        {

        }

        public ApiResultModel(HttpStatusCode statusCode,object data,string msg)
        {
            this.Status = statusCode;
            this.Data = data;
            this.Message = msg;
        }
        public HttpStatusCode Status { get; set; }
        public object Data { get; set; }
        public string Message { get; set; }
    }
}