public IActionResult InviteUserWithEmail([FromBody] InviteDto invite) { Guid g; g = Guid.NewGuid(); pm.InvitationForProject(invite.Id, g.ToString()); es.SendEmail(invite.Email, "WorkFlow invite", g.ToString()); return(Ok(invite)); }
public IActionResult InviteUserWithEmail([FromBody] InviteDto invite) { Guid g; g = Guid.NewGuid(); pm.InvitationForProject(invite.Id, g.ToString()); es.SendEmail(invite.Email, "WorkFlow invite", g.ToString()); return(Ok(invite)); }