public ActionResult <jsonPhoto> CreateOnePhoto([FromBody] jsonPhoto photo) { _photoService.CreateOne(photo); return(photo); }
public jsonPhoto CreateOne(jsonPhoto photo) { photo.tag = null; _photo.InsertOne(photo); return(photo); }
public ActionResult <jsonPhoto> CreateOnePhoto([FromBody] jsonPhoto photo) { _photoService.CreateOne(photo); return(photo); }
public jsonPhoto CreateOne(jsonPhoto photo) { photo.tag = null; _photo.InsertOne(photo); return(photo); }