Example #1
0
        public Task <bool> Update(SubcontractProfile.WebApi.Services.Model.SubcontractProfileRace subcontractProfileRace)
        {
            _logger.LogInformation($"Start RaceController::Update", subcontractProfileRace);

            if (subcontractProfileRace == null)
            {
                _logger.LogWarning($"Start RaceController::Update", subcontractProfileRace);
            }

            var result = _service.Update(subcontractProfileRace);

            if (result == null)
            {
                _logger.LogWarning($"RaceController::", "Update NOT FOUND", subcontractProfileRace);
            }
            return(result);
        }