Exemple #1
0
        public UpdateWorkShiftByEmpResult UpdateAssignWorkShiftByEmp(AssignWorkShiftByEmp entity)
        {
            using (TransactionEntities context = new TransactionEntities())
            {
                var result = context.UpdateWorkShiftByEmp(
                    prodDate: entity.ProdDate
                    , empCode: entity.EmpCode
                    , shiftCode: entity.ShiftCode
                    , userCode: entity.UpdateBy
                    ).FirstOrDefault();

                return(result);
            }
        }