Beispiel #1
0
 public Task <bool> AddItemAsync(FeedbackData data)
 {
     data.Created   = DateTime.UtcNow;
     data.IPAddress = Manager.UserHostAddress;
     return(DataProvider.AddAsync(data));
 }
Beispiel #2
0
 public Task <UpdateStatusEnum> UpdateItemAsync(FeedbackData data)
 {
     return(DataProvider.UpdateAsync(data.Key, data.Key, data));
 }