예제 #1
0
        public ActionResult SaveProductSeries(string productSeries, Guid actReceptionId)
        {
            var format            = "dd.MM.yyyy"; // your datetime format
            var dateTimeConverter = new IsoDateTimeConverter {
                DateTimeFormat = format
            };
            var series = JsonConvert.DeserializeObject <List <SerieProduct> >(productSeries, dateTimeConverter).ToList();

            repository.SaveProductSeries(series, actReceptionId);
            return(Json(""));
        }