Esempio n. 1
0
 public async Task <IActionResult> CreateOrUpdateCategoryAsync(Categories entity)
 {
     return(Content(JsonConvert.SerializeObject(await service.CreateOrUpdateCatergoryAsync(entity)), "application/json", Encoding.UTF8));
 }