public List <ObiInfoModel> Get(string id) { //ユーザーIDから帯を取得 RegistObiHandler roh = new RegistObiHandler(); return(roh.GetObi(id)); }
public void Delete(string obiId, string accessToken) { //所有者のIDを取得 string id = LoginHandler.GetIdFromToken(accessToken); RegistObiHandler roh = new RegistObiHandler(); roh.DeleteObi(obiId, id); }
public void Post([FromBody] PostedData pos) { //情報チェック if (!LoginHandler.Auth_LoginInfoCheck(pos.LoginInfo)) { throw new Exception("ログイン情報不正"); } //帯を保存 RegistObiHandler roh = new RegistObiHandler(); roh.RegistObi(pos.BookData, pos.Imgdata, pos.LoginInfo); }