public async Task <IActionResult> DeleteEntry([FromRoute] int entryId) { await _diaryService.DeleteEntry(entryId); return(Ok()); }
public async Task <IActionResult> DeleteById(int id) { await _diaryService.DeleteEntry(id); return(NoContent()); }
public async Task <IActionResult> DeleteEntry([FromRoute] int entryId) { await _diaryService.DeleteEntry(entryId); return(Ok()); }
public async Task <IActionResult> DeleteById(int id) { await _diaryService.DeleteEntry(id); return(NoContent()); }