public GenericListResponse(string failueMessage)
 {
     Status     = new GenericStatusMessage(false, failueMessage);
     Items      = null;
     TotalCount = 0;
 }
Beispiel #2
0
 public GenericObjectResponse(string failueMessage)
 {
     Status = new GenericStatusMessage(false, failueMessage);
     Object = default(T);
 }
 public GenericListResponse(List <T> items, int totalCount)
 {
     Items      = items;
     TotalCount = totalCount;
     Status     = new GenericStatusMessage(true);
 }
Beispiel #4
0
 public GenericObjectResponse(T obj)
 {
     Status = new GenericStatusMessage(true);
     Object = obj;
 }