public async Task <ActionResult> RemoveFromCategory(Guid uid, Guid categoryUid) { await Shopy.RemoveProductFromCategory(uid, categoryUid); return(Json(true)); }
public async Task <ActionResult> Delete(Guid uid) { await Shopy.DeleteProduct(uid); return(RedirectToAction("List")); }
public async Task <ActionResult> AddToCategory(Guid uid, Guid categoryUid) { await Shopy.AddProductToCategory(uid, categoryUid); return(Json(true)); }