public async Task <NoteResponseModel> GetNotes(string profileId, int userId) { var model = new NoteRequestModel { Id = profileId }; await _rpLog.InsertLog("mcredit-GetNote-request", model.Dump()); var result = await BeforeSendRequest <NoteResponseModel, NoteRequestModel>(_get_notes_Api, model, userId); await _rpLog.InsertLog("mcredit-GetNote-result", result.Dump()); return(result); }
public async Task <BaseResponse <NoteResponseModel> > GetNotes(string profileId) { var model = new NoteRequestModel { Id = profileId }; await _rpLog.InsertLog("mcredit-GetNote-request", model.Dump()); var result = await BeforeSendRequest <NoteResponseModel, NoteRequestModel>(_mcApiconfig.GetNotesApi, model); await _rpLog.InsertLog("mcredit-GetNote-result", result.Dump()); return(result); }