Example #1
0
 public void Put(RouteViewModel route)
 {
     Route domainRoute = route.MapToDomain();
     domainRoute.Author = userService.GetUser(this.UserId);
     routeService.Add(domainRoute);
 }