public PagedResultDto <ReservationManagerInfoDto> GetListByName(GetReservationManagerInfosInput input, bool fuzzy = true)
        {
            var totalCount = _rmInfoRepository.GetCountAsync().Result;
            var rmInfo     = ObjectMapper.Map <List <ReservationManagerInfo>, List <ReservationManagerInfoDto> >(
                _rmInfoRepository.GetListByName(input.Name, input.SkipCount, input.MaxResultCount, fuzzy));

            return(new PagedResultDto <ReservationManagerInfoDto>(totalCount, rmInfo));
        }
Пример #2
0
 public PagedResultDto <ReservationManagerInfoDto> GetList(GetReservationManagerInfosInput input)
 {
     return(_resMangerAppService.GetList(input));
 }