Exemplo n.º 1
0
        protected override object GetEditObject()
        {
            if (_facade == null)
            {
                _facade = new ShiftModel(base.DataProvider);
            }
            ShiftCrew shiftCrew = this._facade.CreateNewShiftCrew();

            shiftCrew.CrewCode     = FormatHelper.PKCapitalFormat(FormatHelper.CleanString(this.txtCrewCodeEdit.Text));
            shiftCrew.CrewDesc     = FormatHelper.CleanString(this.txtCrewDescEdit.Text);
            shiftCrew.MaintainUser = base.GetUserCode();

            return(shiftCrew);
        }
Exemplo n.º 2
0
 public void UpdateShiftCrew(ShiftCrew shiftCrew)
 {
     this._helper.UpdateDomainObject(shiftCrew);
 }
Exemplo n.º 3
0
 public void AddShiftCrew(ShiftCrew shiftCrew)
 {
     this._helper.AddDomainObject(shiftCrew);
 }