import {get} from './../utils/api'
import {post} from './../utils/api'
import {lodash} from 'loadsh'


 export async function GetMessages(userId,boxType) {
   return get('Messages/GetMessages?userId='+encodeURIComponent(userId)+'&boxType='+encodeURIComponent(boxType));
 }

 export async function SendMessage(message){
   return post('Messages/SendMessage',message)
 }
import {get} from './../utils/api'
import {post} from './../utils/api'



 export async function GetMessages(userId,boxType) {
   return get('Messages/GetMessages?userId='+encodeURIComponent(userId)+'&boxType='+encodeURIComponent(boxType));
 }

 export async function SendMessage(message){
   return post('Messages/SendMessage',message)
 }
change 'loadsh' to 'lodash'