public ActionResult AddPeriod(AddPlaceInfoInput ti)
 {
     if (this.CreateService <IPlaceInfoService>().Add(ti).Id != "")
     {
         return(this.AddSuccessMsg());
     }
     return(this.AddSuccessMsg());
 }
        public PlaceInfo Add(AddPlaceInfoInput input)
        {
            PlaceInfo entity = this.CreateEntity <PlaceInfo>();

            entity.Address   = input.Address;
            entity.Code      = input.Code;
            entity.Describe  = input.Describe;
            entity.PlaceName = input.PlaceName;
            return(this.DbContext.Insert(entity));
        }