Пример #1
0
 public ActionResult add(BatchUserMap obj)
 {
     obj.ID               = Guid.NewGuid().ToString().ToLower();
     obj.CompanyID        = this.Company.ToLower();
     obj.CreatedBy        = LoggedUserID;
     obj.CreationDate     = Utility.GetCurrentDateInt();
     obj.CreationTime     = Utility.GetCurrentTimeInt();
     obj.ModificationDate = Utility.GetCurrentDateInt();
     obj.ModificationTime = Utility.GetCurrentTimeInt();
     obj.ModifiedBy       = LoggedUserID;
     _db.AddBatchUserMapping(obj);
     return(RedirectToAction("index"));
 }