public ActionResult EditHomeCleaning(HomeCleaning model)
 {
     if (ModelState.IsValid)
     {
         unitOfWork.HomeCleanings.Edit(model);
         unitOfWork.Complete();
         unitOfWork.Dispose();
         return(RedirectToAction("Index", "HomeCleaning"));
     }
     else
     {
         return(View(model));
     }
 }
 public ActionResult AddHomeCleaning(HomeCleaning model)
 {
     try
     {
         if (ModelState.IsValid)
         {
             unitOfWork.HomeCleanings.Add(model);
             unitOfWork.Complete();
             unitOfWork.Dispose();
             return(RedirectToAction("Index", "HomeCleaning"));
         }
     }
     catch (Exception ex)
     {
         //TODO: We want to show an error message
         return(View());
     }
     return(View());
 }