public static Entry FromResponse(RequestObject req) { if (!req.HasItem("Baslik")) { return(null); } if (!req.HasItem("Suser")) { return(null); } if (!req.HasItem("Date")) { return(null); } if (!req.HasItem("Desc")) { return(null); } return(new Entry( req.GetItem <string>("Baslik"), req.GetItem <string>("Suser"), req.GetItem <string>("Date"), req.GetItem <string>("Desc"))); }