示例#1
0
        private static ServiceResponse <List <ContainerSkinny> > GetContainers()
        {
            ServiceResponse <List <ContainerSkinny> > respConsSkinny = new ServiceResponse <List <ContainerSkinny> >();

            respConsSkinny.Data    = SpoonData.GetAllContainers();
            respConsSkinny.Message = "Success";
            respConsSkinny.Success = true;

            return(respConsSkinny);
        }
示例#2
0
 public static List <ContainerSkinny> GetAllContainers()
 {
     return(data.GetAllContainers());
 }