public IHttpActionResult InsertAddress(AddressViewModel model) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } return(RunInSafe(() => { var data = _addressService.AddCustomerAddress(model); tebResponse.Data = data; tebResponse.IsSuccess = true; return Ok(tebResponse); })); }