예제 #1
0
        /// <summary>
        /// Lấy danh sách hóa đơn
        /// </summary>
        /// <returns></returns>
        public List <Item> GetItems()
        {
            List <Item> intems = _itemDL.GetItems();

            return(intems);
        }
예제 #2
0
 public IEnumerable <ItemsViewModel> GetItems()
 {
     return(itemDL.GetItems());
 }
예제 #3
0
        public HttpResponseMessage GetItems()
        {
            List <ItemBO> itemlList = dl.GetItems();

            return(Request.CreateResponse(HttpStatusCode.OK, itemlList, Configuration.Formatters.JsonFormatter));
        }