public void CreateWrestlerTest(WrestlerModel model) { var id = Wrestler.Create(model); // compare models var modelCurrent = Wrestler.Read(id); model.CompareModels(modelCurrent); }
public void CreateWrestlerWithPhotoAttachmentAPITest(WrestlerModel model) { var id = Wrestler.Create(model); var attachModel = Wrestler.UploadPhoto(id, PathToFiles + model.attaches[0].filename); //compare models var modelCurrent = Wrestler.Read(id); model.CompareModels(modelCurrent); }