public object AddAttendencerecoord([FromUri] TAttendenceModal.AddAttendenceRecordReq req)
        {
            BLL_Attendence bllAttendence = new BLL_Attendence();

            TAttendenceModal.AddAttendenceRecordResp resp = bllAttendence.AddAttendenceRecord(req);
            return(resp);
        }
        internal TAttendenceModal.AddAttendenceRecordResp AddAttendenceRecord(TAttendenceModal.AddAttendenceRecordReq req)
        {
            TAttendenceModal.AddAttendenceRecordResp rsp = new TAttendenceModal.AddAttendenceRecordResp();
            rsp.apiError = new APIErrors();
            rsp.apiError = ApiError_defs.err_Invalid_Request;
            ITAttendence ia = _storage.AddAttendence(req.nEntityId, req.nBusFK, req.rInLat, req.rInLong);

            if (ia != null && ia.n > 0)
            {
                rsp.apiError      = ApiError_defs.ok;
                rsp.nAttendenceId = ia.n;
            }
            return(rsp);
        }