public Country Add(Country dto) { logger.Info("Start to add new cateory"); try { return(countryBusiness.Save(dto)); } catch (Exception ex) { var httpError = new HttpResponseMessage() { StatusCode = (HttpStatusCode)422, ReasonPhrase = ex.Message }; throw new HttpResponseException(httpError); } }