public void Edit(Operation entity) { if (AuthorizedUsers["Edit"].SingleOrDefault(x => x == Role) != null) { OperationController.Edit(entity); } }
public void Edit(Operation entity) { if (AuthorizedUsers["Edit"].SingleOrDefault(x => x == Role) != null) { OperationController.Edit(entity); } }