public IHttpActionResult Delete(int id) { try { _smtpService.DeleteAsync(id); return(Ok()); } catch (Exception ex) { return(InternalServerError(ex)); } }
public IHttpActionResult Delete(int id) { try { _smtpService.DeleteAsync(id); return(Ok()); } catch (Exception ex) { return(InternalServerError(ex)); } }