public async Task <QueryResult <UserCommitteeBranchesModel> > GetUserCommitteeBranchesModel(BranchCommitteeUserSearchCriteriaModel userSearchCriteriaModel) { if (userSearchCriteriaModel.PageNumber <= 0 && userSearchCriteriaModel.PageSize <= 0) { userSearchCriteriaModel.PageNumber = 1; userSearchCriteriaModel.PageSize = 10; } string agencyCode = User.UserAgency(); if (User.UserRole() == RoleNames.CustomerService || User.UserRole() == RoleNames.MonafasatAccountManager) { agencyCode = null; } var userCommitteeBranchesList = await _iDMAppService.GetUserCommitteeBranchesModel(agencyCode, userSearchCriteriaModel); return(userCommitteeBranchesList); }