Example #1
0
 public async Task Post(CatDTO cat)
 {
     if (String.IsNullOrEmpty(cat.Name))
     {
         return;
     }
     await _service.Add(cat);
 }