Ejemplo n.º 1
0
 public IEnumerable <Estoque> GetAll()
 {
     try
     {
         return(_estoqueRepository.GetAllIncluding(x => x.AssignedProduct));
     }
     catch (Exception e)
     {
         throw new UserFriendlyException("Error", e.Message.ToString());
     }
 }