public IHttpActionResult GetAll() { try { return(Ok(_smtpService.GetAllAsync().Result)); } catch (Exception ex) { return(InternalServerError(ex)); } }
public IHttpActionResult GetAll() { try { return(Ok(_smtpService.GetAllAsync().Result)); } catch (Exception ex) { return(InternalServerError(ex)); } }