public async Task <IActionResult> ExecuteAsync(int contactUsId, CancellationToken cancellationToken)
        {
            var contactUs = await _contactUsRepository.Get(contactUsId, cancellationToken);

            if (contactUs == null)
            {
                return(new NotFoundResult());
            }

            await _contactUsRepository.Delete(contactUs, cancellationToken);

            return(new NoContentResult());
        }
 public void Delete(ContactUs model)
 {
     contactUsRepository.Delete(model);
     contactUsRepository.SaveChanges();
 }