よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public ActionResult AddSubscription(Guid customerId, Guid comicBookSeriesId) { var addResult = _customers.AddCustomerSubscription(new SubscriptionSave() { ComicBookSeriesId = comicBookSeriesId, CustomerId = customerId, UserId = userId }); return(Json(new { IsSuccess = addResult.IsSuccess, ErrorMessages = addResult.ErrorMessages })); }