/// <summary> /// https://localhost:44370/api/Group /// </summary> /// <returns></returns> public IHttpActionResult Get() { try { return(Ok(GroupModel.GetAllGroups(db))); } catch (Exception ex) { return(Content(HttpStatusCode.BadRequest, ex)); } }
/// <summary> /// https://localhost:44370/api/Group /// </summary> /// <returns></returns> public IHttpActionResult Get() { try { return(Ok(GroupModel.GetAllGroups(db))); } catch (Exception ex) { return(Content(HttpStatusCode.BadRequest, ex)); } }