public ICollection <PolicyDto> GetByClientName(string clientName) { try { var policies = _repo.GetByClientName(clientName); return(_mapper.Map <ICollection <PolicyDto> >(policies)); } catch (Exception e) { throw new ApiServerException("Unexpected error", e); } }