Пример #1
0
 public bool Add(AddConfigurationRepositoryDTO dto)
 {
     Collection.InsertOne(new MongoDbConfigurationEntity
     {
         Type            = dto.Type,
         Value           = dto.Value,
         Name            = dto.Name,
         IsActive        = dto.IsActive,
         CreationDate    = DateTime.Now,
         LastModifyDate  = DateTime.Now,
         ApplicationName = dto.ApplicationName
     });
     return(true);
 }
 public Task <bool> AddAsync(AddConfigurationRepositoryDTO dto)
 {
     throw new NotImplementedException();
 }
 public bool Add(AddConfigurationRepositoryDTO dto)
 {
     throw new NotImplementedException();
 }