Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
private async Task <IHttpActionResult> Delete(Guid id) { if (!await MessageExistsAsync(id)) { return(NotFound()); } await _repository.DeleteByIdAsync(id); return(StatusCode(HttpStatusCode.NoContent)); }