public async Task <LocatorDto> Delete(int id)
        {
            var locator = _context.Locators.FirstOrDefault(x => x.Id == id);
            var ret     = new LocatorDto();

            if (locator != null)
            {
                _context.Locators.Remove(locator);
                await _context.SaveChangesAsync();

                ret.Id = id;
            }

            return(ret);
        }
        public async Task <PersonDto> Ensure(PersonDto personDto)
        {
            //BlobStorageService objBlobService = new BlobStorageService();

            var person = new Person()
            {
                FirstName  = personDto.FirstName,
                LastName   = personDto.LastName,
                MiddleName = personDto.MiddleName
            };

            _context.Persons.Add(person);
            await _context.SaveChangesAsync();

            personDto.Id = person.Id;
            return(personDto);
        }