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