public ActionResult Update(VideoDto videoDto) { Video video = Video.Create(videoDto); VideoManager.Save(video); VideoDto savedVideoDto = VideoDto.Create(video); return new JsonDataContractActionResult(savedVideoDto); }
public ActionResult Update(VideoDto videoDto) { Video video = Video.Create(videoDto); VideoManager.Save(video); VideoDto savedVideoDto = VideoDto.Create(video); return new JsonServiceStackResult(savedVideoDto); }