public async Task AddRight(int module, int rightObject, int rightOperator) { var right = new UserRightView { Module = (RightModule)module, Object = (RightObject)rightObject, Operator = (RightOperator)rightOperator }; await _users.AddRight(right); }
public async Task AddRight(int module, int rightObject, int rightOperator) { var right = new UserRightView { Module = (RightModule)module, Object = (RightObject)rightObject, Operator = (RightOperator)rightOperator }; await _users.AddRight(right); }