Exemple #1
0
 public IEnumerable <Sale> GetListBySales(int salesId)
 {
     return(_Repository.FindBy(s => s.Id == salesId));
 }
Exemple #2
0
        //public ProductViewModel GetProductViewModelById()
        //{
        //   productViewModel.ProducsCategories = _producsCategoryService.GetCategoryList();
        //   productViewModel.UOMs = _uomService.GetList();

        // }

        public IEnumerable <Product> GetListName(string search)
        {
            return(_Repository.FindBy(s => s.Name.Contains(search)));
        }
Exemple #3
0
 public IEnumerable <Partner> GetListBy(int PartnerId)
 {
     return(_Repository.FindBy(s => s.Id == PartnerId));
 }