public ActionResult Index(ContactUs contactUs)
        {
            if (ModelState.IsValid)
            {
                ObjContactUsService.Add(contactUs);

                //  ModelState("ImageUpload Error", filename);
            }
            else
            {
                return View(contactUs);
            }
            TempData["Message"] = "Thankyou for your information. We will contact you soon";

            return RedirectToAction("Index");
        }
 public void Delete(ContactUs entity)
 {
     repository.Delete(entity);
     unitOfWork.Commit();
 }
 public ContactUs Update(ContactUs entity)
 {
     throw new NotImplementedException();
 }
 public ContactUs Add(ContactUs objContactUs)
 {
     objContactUs = repository.Add(objContactUs);
     unitOfWork.Commit();
     return objContactUs;
 }