public IEnumerable <SystemProfile> GetByName(string name) { return(_systemProfileRepository.GetByName(name)); }
public IEnumerable <SystemProfileTableViewModel> GetByName(string name, int pageNumber, int recordNumbers) { return(_mapper.Map <IEnumerable <SystemProfile>, IEnumerable <SystemProfileTableViewModel> >(_systemProfileRepository.GetByName(name))); }