/// <summary> /// Lấy danh sách hóa đơn /// </summary> /// <returns></returns> public List <Item> GetItems() { List <Item> intems = _itemDL.GetItems(); return(intems); }
public IEnumerable <ItemsViewModel> GetItems() { return(itemDL.GetItems()); }
public HttpResponseMessage GetItems() { List <ItemBO> itemlList = dl.GetItems(); return(Request.CreateResponse(HttpStatusCode.OK, itemlList, Configuration.Formatters.JsonFormatter)); }