public ActionResult Edit(int id, BranchModel branch)
 {
     try
     {
         BranchManager.UpdateBranch(Utility.convertSrcToTarget<BranchModel, Branch>(branch), "nirshan");
         return RedirectToAction("Index");
     }
     catch
     {
         return View();
     }
 }
 //
 // GET: /Branch/Details/5
 public ActionResult Details(int id)
 {
     BranchModel branch = new BranchModel();
     branch = Utility.convertSrcToTarget<Branch, BranchModel>(BranchManager.GetBranchById(id, "nirshan"));
     return View(branch);
 }
 public ActionResult Create()
 {
     BranchModel branchModel = new BranchModel() { IsActive = true };
     return View(branchModel);
 }