public static ActionViewModel ToViewModel(this STM.Core.EntityLayer.Action entity) { return(new ActionViewModel { ActionId = entity.ActionId, ActionGroup = entity.ActionGroup, ActionType = entity.ActionType, ActionName = entity.ActionName, ActionGroupName = entity.ActionGroupName, ActionDescription = entity.ActionDescription, ActionRemarks = entity.ActionRemarks, CreatedBy = entity.CreatedBy, CreatedDate = entity.CreatedDate, UpdatedBy = entity.UpdatedBy, UpdatedDate = entity.UpdatedDate }); }
public Task <bool> UpdateAction(Action subscenario, int actionid, int actiongroupid) { throw new NotImplementedException(); }
public Task <bool> CreateAction(Action subscenario) { throw new NotImplementedException(); }