Example #1
0
 /// <summary>
 /// The GetStandard
 /// </summary>
 /// <returns>The <see cref="ServiceResult"/></returns>
 public ServiceResult GetStandard()
 {
     return(new ServiceResult(true)
     {
         Data = _repository.GetAll().AsQueryable()
     });
 }
Example #2
0
 public IEnumerable <Standard> GetAllStandards()
 {
     return(_standardRepository.GetAll());
 }
 public IList <Standard> getAllStandards()
 {
     return(_standardRepository.GetAll().ToList());
 }
 public List <StandardOutput> Execute()
 {
     return(_mapper.Map <List <Domain.Standard.Standard>, List <StandardOutput> >(_standardRepository.GetAll()));
 }
Example #5
0
 public IList <Standard> GetAllStandards()
 {
     return((IList <Standard>)_standardRepository.GetAll());
 }