public async Task <Response <bool> > InsertarAsync(CustomersDTO customersDto) { var response = new Response <bool>(); try { var customer = _mapper.Map <Customers>(customersDto); response.Data = await _customerDomain.InsertarAsync(customer); if (response.Data) { response.IsSuccess = true; response.Message = "Registro exitoso"; } } catch (Exception ex) { response.Message = ex.Message; } return(response); }