Exemplo n.º 1
0
        public async Task <List <UserLookupModel> > GetAllDataEntryUsers()
        {
            var AgencyCode = User.UserAgency();

            if (User.UserIsVRO())
            {
                return(await _iDMAppService.GetAllDataEntryAndAuditorUsers(RoleNames.PurshaseSpecialist, AgencyCode));
            }
            else
            {
                return(await _iDMAppService.GetAllDataEntryAndAuditorUsers(RoleNames.DataEntry, AgencyCode));
            }
        }