/// <summary> /// create new Daily Results by the data from System manualy entered /// </summary> /// <param name="employeeID"></param> /// <param name="startTime"></param> /// <param name="finishTime"></param> /// <param name="workTypeID"></param> /// <returns> true if new daily result was added, othervise false</returns> public bool CreateNewDailyResult(int employeeID, DateTime startTime, DateTime finishTime, int workTypeID) { DailyRecord dailyResult = new DailyRecord { IdEmployee = employeeID, Start = startTime, Finish = finishTime, IdWorktype = workTypeID }; return(_logic.InsertNewDailyResultFromSystem(dailyResult)); }