public ActionResult <GetAllUserResponseModel> GetAllUser(UsersFilterRequestModel filter) { GetAllUserResponseDto getAllUserResponse = _userEngine.GetAllUser(_mapper.Map <UsersFilterParamsDto>(filter)); return(new GetAllUserResponseModel { Users = getAllUserResponse.Users, TotalRecords = getAllUserResponse.TotalRecords }); }