public PartialViewResult Edit(ContractDetailTimeline r)
 {
     if (ModelState.IsValid)
     {
         r = Repo.Update(r);
         return(PartialView("View", r));
     }
     return(PartialView("Edit", r));
 }
        public PartialViewResult Edit(int id)
        {
            ContractDetailTimeline r = Repo.Get(id);

            return(PartialView("Edit", r));
        }
        public PartialViewResult Add(int contractDetailID, int timeCount, string timeUnit)
        {
            ContractDetailTimeline r = Repo.Add(contractDetailID, timeCount, timeUnit);

            return(PartialView("View", r));
        }