public Task AddAsync(Guid operationId, Guid transferId, OperationType type) { var operation = new Operation { Id = operationId, TransferId = transferId, Type = type, Status = OperationStatus.Created, Created = DateTime.UtcNow }; return(_operationsRepository.InsertAsync(operation)); }