// DateSet object /////////////////////////////////////////////////////////////////////////////////////////////// /// <summary> /// insert a DateSet object /// </summary> /// <param name="item"></param> public async Task<DateSet> AddDateSetAsync(DateSet item) { item.Id = MongoDB.Bson.ObjectId.GenerateNewId().ToString(); await datesets.InsertOneAsync(item); return item; }
public FTPClientRunner(DateSet dateset, InputData inputdata, string testId) { DateSet = dateset; InputData = inputdata; TestId = testId; }