public string ReadRoleBasedSecuredFile(string path, IRoleHandler handler) { if (handler.IsAuthorized()) { return(File.ReadAllText(path)); } return(null); }
public RoleController(IRoleHandler roleService) { _roleService = roleService; }
public RoleController(IRoleHandler roleHandler) { this.roleHandler = roleHandler; }