public RecordController(IRecordOperations recordOperations, IAuthService authService)
        {
            _authService     = authService;
            _recordOperaions = recordOperations;
            Result <int> resultId = authService.GetId(User);

            _userId = resultId.Data;
        }
Example #2
0
 private RecordInfo(Type recordType)
 {
     RecordConditionSelector = String.Empty;
     RecordCondition = RecordCondition.None;
     CommentAnyPlace = true;
     RecordType = recordType;
     InitRecordFields();
     mOperations = new RecordOperations(this);
 }
Example #3
0
 /// <summary>
 /// Read the attributes of the class and create an array
 /// of how to process the file
 /// </summary>
 /// <param name="recordType">Class we are analysing</param>
 private RecordInfo(Type recordType)
 {
     SizeHint = 32;
     RecordConditionSelector = String.Empty;
     RecordCondition         = RecordCondition.None;
     CommentAnyPlace         = true;
     RecordType = recordType;
     InitRecordFields();
     Operations = new RecordOperations(this);
 }