Ejemplo n.º 1
0
 public void UpdateModel(ProjectFirmaModels.Models.ActionItem actionItem, FirmaSession currentFirmaSession)
 {
     actionItem.ProjectID              = ProjectID;
     actionItem.ActionItemText         = ActionItemText;
     actionItem.ActionItemStateID      = (int)ActionItemStateEnum;
     actionItem.AssignedToPersonID     = AssignedToPersonID;
     actionItem.AssignedOnDate         = AssignedOnDate;
     actionItem.DueByDate              = DueByDate;
     actionItem.CompletedOnDate        = CompletedOnDate;
     actionItem.ProjectProjectStatusID = ProjectProjectStatusID;
 }
Ejemplo n.º 2
0
 public EditViewModel(ProjectFirmaModels.Models.ActionItem actionItem)
 {
     ActionItemID           = actionItem.ActionItemID;
     ProjectID              = actionItem.ProjectID;
     ActionItemText         = actionItem.ActionItemText;
     ActionItemStateEnum    = actionItem.ActionItemState.ToEnum;
     AssignedToPersonID     = actionItem.AssignedToPersonID;
     AssignedOnDate         = actionItem.AssignedOnDate;
     DueByDate              = actionItem.DueByDate;
     CompletedOnDate        = actionItem.CompletedOnDate;
     ProjectProjectStatusID = actionItem.ProjectProjectStatusID;
 }