예제 #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());
 }