public IHttpActionResult Add(Favori model) { FavoriBLL favoriBusiness = new FavoriBLL(); favoriBusiness.Add(model); return(Ok()); }
public IHttpActionResult Delete(int id) { FavoriBLL favoriBusiness = new FavoriBLL(); favoriBusiness.Delete(id); return(Ok()); }
public IHttpActionResult GetByUserId(int id) { FavoriBLL favoriBusiness = new FavoriBLL(); var model = favoriBusiness.GetBtKullaniciId(id); return(Ok(model)); }