public async Task <ActionResult <IEnumerable <Uom> > > GetAll(string _Orderby, bool _IsDesc) { return(Ok(await _uomService.GetAll(new DefaultFilter { Orderby = _Orderby, IsDesc = _IsDesc }))); }
public async Task <ActionResult <IEnumerable <Payment> > > GetAll(string _Orderby, bool _IsDesc) { return(Ok(await _parentCategoryService.GetAll(new DefaultFilter { Orderby = _Orderby, IsDesc = _IsDesc }))); }