// GET: api/MyMeetingsApi/5 public string[] Get(string username, string password) { if (_udb.Login(username, password)) { return(_mdb.GetByUserName(username)); } else { return(new string[] { "error" }); } }