Exemplo n.º 1
0
 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);
 }