public async Task <ActionResult> RemoveProducts([FromBody] int id) { try { await dietService.RemoveProduct(id); return(Ok()); } catch { return(new BadRequestResult()); } }
public async Task <ActionResult> RemoveProducts([FromBody] int id) { try { await dietService.RemoveProduct(id); return(Ok()); } catch { return(new BadRequestResult()); } }