public IEnumerable <EmpDropAttribute> GetEmployeeDropdown() { RoleContext context = HttpContext.RequestServices.GetService(typeof(RMG.Models.RoleContext)) as RoleContext; return(context.GetEmployeeDropdown()); }