public string GetQusition(int Userid) { QusitionAccess qusition = new QusitionAccess(); string s = qusition.GetUserallQusition(Userid); if (s == string.Empty) { return("Empty"); } else { return(s); } }
public string GetFollow(int Userid) { QusitionAccess qusitionAccess = new QusitionAccess(); return(qusitionAccess.GetUserFQ(Userid)); }
public bool DeleteFollow(int Userid, int Qusitionid) { QusitionAccess qusitionAccess = new QusitionAccess(); return(qusitionAccess.DeleteFolloeQ(Userid, Qusitionid)); }
public bool PutFollow(int Userid, int Qusitionid) { QusitionAccess qusitionAccess = new QusitionAccess(); return(qusitionAccess.PutFollowQu(Userid, Qusitionid)); }
public List <Qusition> Getbyname(string text) { QusitionAccess qusitionAccess = new QusitionAccess(); return(qusitionAccess.GetByname(text)); }
public bool PutUpdateQ([FromBody] Qusition qusition) { QusitionAccess qusitionaccess = new QusitionAccess(); return(qusitionaccess.PutFixQ(qusition)); }
public bool PostQusi([FromBody] Qusition qusition) { QusitionAccess qusitionAccess = new QusitionAccess(); return(qusitionAccess.PostnewQusition(qusition)); }
public IActionResult GetAction(int Qusitionid) { QusitionAccess qusitionAccess = new QusitionAccess(); return(Ok(qusitionAccess.GetQusition(Qusitionid))); }
public string GetLabelUQ(int labelid, string labelname) { QusitionAccess qusitionAccess = new QusitionAccess(); return(qusitionAccess.GetlabelUQ(labelid, labelname)); }
public bool Getisfollow(int Userid, int Qusitionid) { QusitionAccess qusitionAccess = new QusitionAccess(); return(qusitionAccess.Getisfollow(Userid, Qusitionid)); }