public async Task <ActionResult> Post([FromBody] Models.Flare flare) { return(Ok(await FlareService.SendFlare(flare))); }
public async Task <ActionResult> Get(Guid id) { return(Ok(await FlareService.GetFlareById(id))); }
public async Task <ActionResult> Get() { return(Ok(await FlareService.GetFlaresBySenderId(GetUserIdFromContext()))); }
public FlaresController() { FlareService = new FlareService(); FlareMessageService = new FlareMessageService(); }
public UsersController() { FlareGroupService = new FlareGroupService(); FlareService = new FlareService(); }
public OrganizationsController() { FlareGroupsService = new FlareGroupService(); FlareService = new FlareService(); }