Hi,
I had the following codes:
I got the error below:Code:[ResponseType(typeof(cvwSMSInbox))] public IHttpActionResult GeteSMSInbox(string id, string search) { AESContext db = new AESContext(id); cvwSMSInbox record = new cvwSMSInbox(); record = db.cvwSMSInbox.Where(s => s.Branch_ID == search); return Ok(record); }
Cannot implicitly convert type 'System.Linq.Iqueryable<cvwSMSInbox>' to 'cvwSMSInbox'. An explicit conversion exists.
Any help is kindly appreciated.