Exemplo n.º 1
0
        public ActionResult Index(Forsendelse ff)
        {
            ff.Forsendelsesdato = new DateTime();

            RuteberegningService rbs = new RuteberegningService();

            rbs.GetBeregnedeRuter(ff);

            return(View(ff));
        }
Exemplo n.º 2
0
        // POST api/connections
        public List <ForbindelseDto> Post([FromBody] ForsendelseDto value)
        {
            var ruteberegningService = new RuteberegningService();

            return(ruteberegningService.GetForbindelseDtos(value));
        }