public async Task <IActionResult> Update(string providerId, UpdateProviderModel provider)
        {
            var apiRep = new APIResponse();

            if (!(await _providerService.IsExisting(providerId)))
            {
                apiRep.Data  = null;
                apiRep.Error = false;

                return(Ok(apiRep));
            }
            var p = await _providerService.Update(providerId, provider);

            apiRep.Data  = p;
            apiRep.Error = false;
            return(Ok(apiRep));
        }