Exemple #1
0
 public VignetteValidationResult IsValidFor(LicencePlate licencePlate, DateTimeOffset dateTime)
 {
     return(new VignetteValidationResult
     {
         validatedOnUtc = DateTime.UtcNow,
         isValid = false
     });
 }
 public VignetteTableEntity(LicencePlate licencePlate,DateTime startDate, LicenceDuration licenceDuration)
 {
     var licenceKey = licencePlate.ToKey();
     this.PartitionKey = ToPartitionKey(licenceKey);
     this.RowKey = licenceKey;
     StartDate = startDate;
     LicenceDuration = (int)licenceDuration;
 }
        public Task SaveVignette(LicencePlate licencePlate, DateTime dateTime, LicenceDuration licenceDuration)
        {
            var t = GetTable();

            throw new NotImplementedException();
        }