public ActionResult Create(SliderModel model)
        {
            bool result = sliderService.Add(model);
            if(result)
            {

            }
        }
 public ActionResult Create(SliderModel model)
 {
     bool result = sliderService.Add(model);
     if(result)
     {
         return RedirectToAction("Index");
     }
     return View();
 }
 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();
 }
 public bool Add(SliderModel model)
 {
 }
 public List<SliderModel> GetHotelAlbumList(string title)
 {
     var hotelList = new SliderModel();
 }
 public ActionResult Create(SliderModel model)
 {
 }