public FaceController(FaceServices services) { _services = services; FaceModel fm = new FaceModel(); fm.Id = 1; fm.name = "Robinhood"; _services.AddFaceItems(fm); //azura = new AzuraOwn(); }
public ActionResult <FaceModel> AddPerson(FaceModel items) { //return Ok(); var nameItems = _services.AddFaceItems(items); if (nameItems == null) { return(NotFound()); } return(nameItems); }