Esempio n. 1
0
 /// <summary>
 /// Updates product info
 /// </summary>
 /// <param name="updateCommand">Update contact info command</param>
 public void UpdateRepairInfo(Repair_InfoModel model)
 {
     Execute("UpdateRepairInfo", new
     {
         model.RepairType, model.FaultType, model.FaultDescription, model.RepairAgent, model.RepairCost,
         model.RepairCostPaid, model.VisitCd, model.ServiceId, model.EngineerId, model.DiaryId,
         model.CustomerType
     }, commandType: CommandType.StoredProcedure);
 }
Esempio n. 2
0
 //public void AddNoteCustomerEntity(int Customerid, int NotesId, string noteText)
 //{
 //  //  Log.File.Info(Msg.GenerateLogMsg("Add job note...", "Service Id = " + serviceId));
 //    Repository.AddNoteCustomerEntity(Customerid,NotesId, UserId, noteText);
 //}
 /// <summary>
 /// Update repair info
 /// </summary>
 /// <param name="model">Model data</param>
 internal void UpdateRepairInfo(Repair_InfoModel model)
 {
     model.RepairCost = model.RepairCost;// ?? 0.00;
     Repository.UpdateRepairInfo(model);
 }