Exemplo n.º 1
0
        public BaseResponse <List <Drink> > GetDrinks()
        {
            var drinks = dataLayer.GetEntities <Drink>();

            return(new BaseResponse <List <Drink> >(code: ResultCodeEnum.Success, message: null, resultItem: drinks));
        }