public async Task Update(string lawnId, string sectionId, LawnSectionForUpdate updatedLawnSection)
        {
            var lawn = await GetLawnAsync(lawnId);

            var section = GetLawnSection(sectionId, lawn);

            section.Name        = updatedLawnSection.Name;
            section.Description = updatedLawnSection.Description;
            section.ImageUrl    = updatedLawnSection.ImageUrl;
            section.SquareFeet  = updatedLawnSection.SquareFeet;
            section.UpdatedDate = DateTime.UtcNow;

            await _lawns.ReplaceOneAsync(l => l.Id == lawnId, lawn);
        }
        public async Task <IActionResult> Update(string lawnId, string sectionId, LawnSectionForUpdate updatedLawnSection)
        {
            try {
                var section = await _lawnSectionService.GetAsync(lawnId, sectionId);

                await _lawnSectionService.Update(lawnId, sectionId, updatedLawnSection);

                return(Ok());
            }
            catch (LawnNotFoundException)
            {
                return(BadRequest($"No lawn found with id {lawnId}"));
            }
            catch (LawnSectionNotFoundException)
            {
                return(NotFound());
            }
        }