예제 #1
0
        public static List<EmployeeLog> GetAllLogtimeByUser(string empid)
        {
            var dal = new EmployeeLogDAL();
            var collection = new List<EmployeeLog>();

            foreach(DataRow row in dal.GetAllLogtimeByUser(empid).Rows){

                var instance = new EmployeeLog();
                instance.Bind(row);
                collection.Add(instance);
            }
            //
            return collection;
        }
예제 #2
0
 public static void InsertLogOutTime(string empid, string empname)
 {
     var dal = new EmployeeLogDAL();
     dal.InsertLogOutTime(empid, empname, "O");
 }