public Yote AddYote(Yote yote) { var ret = this._dbContext.Yotes.Add(yote); this._dbContext.SaveChanges(); return(ret.Entity as Yote); }
public Yote PostYote([FromBody] Yote yote) { return(_yoteService.AddYote(yote)); }