public bool Add(SliderModel model)
 {
     Model.Model.Slider dbModel = new Model.Model.Slider();
     dbModel.CreateTime = DateTime.Now;
     dbModel.ImgUrl = model.ImgUrl;
     dbModel.TitleCN = model.TitleCN;
     dbModel.TitleEN = model.TitleEN;
     dbModel.TitleTW = model.TitleTW;
 }
 public bool Add(SliderModel model)
 {
     Model.Model.Slider dbModel = new Model.Model.Slider();
     dbModel.CreateTime = DateTime.Now;
     dbModel.ImgUrl = model.ImgUrl;
     dbModel.TitleCN = model.TitleCN;
     dbModel.TitleEN = model.TitleEN;
     dbModel.TitleTW = model.TitleTW;
     _unitOfWork.SliderRepository.Insert(dbModel);
 }
 public bool Add(SliderModel model)
 {
     Rental.Model.Model.Slider dbModel = new Model.Model.Slider();
 }