よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public ActionResult BookedList(string orgId) { if (string.IsNullOrEmpty(orgId)) { return(RedirectToAction("Index", "Home")); } var services = _serviceService.GetBookedByOrganizationId(orgId).Data; var models = Mapper.Map <IEnumerable <BookedServiceMvcViewModel> >(services); return(View("BookedList", models)); }