よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public static async Task AddTeacherAsync(int Id, string Name, string PhoneNum, int SchoolID, string DeviceSerial, string image) { using (TeacherService teacher = new TeacherService()) { await teacher.CreatAsync(new Models.Teacher() { Id = Id, Name = Name, PhoneNum = PhoneNum, SchoolId = SchoolID, DeviceSerial = DeviceSerial, Image = image }, true); } }