public async Task <IActionResult> Delete(int postId, int collaboratorId)
 {
     try
     {
         return(Ok(await _repository.DeleteFromPostAsync(postId, collaboratorId)));
     }
     catch (Exception ex)
     {
         return(StatusCode(500, ex));
     }
 }