Пример #1
0
        public async Task <IActionResult> GetProductManufacturer(int id)
        {
            if (!_auth.IsValidUser(User))
            {
                return(NoContent());
            }

            return(Ok(await _repo.GetProductManufacturer(id)));
        }
Пример #2
0
 public ProductManufacturer GetProductManufacturer(System.Int32 ProductId)
 {
     return(_iProductManufacturerRepository.GetProductManufacturer(ProductId));
 }