using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using MESClassLibrary.BLL.Log;
using MESClassLibrary.DAL.ExchangeCenter;
using MESClassLibrary.Model;

namespace MESClassLibrary.BLL.ExchangeCenter
{
    public class GetNewTasksBLL
    {
        public bool AddInfo(GetNewTasksModel md)
        {
            GetNewTasksDAL da = new GetNewTasksDAL();
            try
            {
                return da.AddInfo(md);
            }
            catch (Exception ex)
            {
                LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
                return false;
            }
        }
    }
}