public IActionResult Delete(string id) { var contactform = _formsService.Get(id); if (contactform == null) { return(NotFound()); } _formsService.Remove(contactform); return(NoContent()); }