示例#1
0
文件: NotesBL.cs 项目: shiv-N/Fundoo
 /// <summary>
 /// Adds the collaborators.
 /// </summary>
 /// <param name="userId">The user identifier.</param>
 /// <param name="collaborator">The collaborator.</param>
 /// <returns></returns>
 public async Task <AddCollaboratorResponce> AddCollaborators(int NoteId, int userId, AddCollaboratorRequest collaborator)
 {
     try
     {
         return(await notes.AddCollaborators(NoteId, userId, collaborator));
     }
     catch (Exception e)
     {
         throw e;
     }
 }