public async Task <IActionResult> UpdateName(Guid statusId, Guid projectId, string newName)
        {
            var id = User.Claims.Where(c => c.Type == "Id").Select(c => c.Value).SingleOrDefault();

            if (String.IsNullOrEmpty(id))
            {
                return(Unauthorized());
            }
            Guid actorId = new Guid(id);

            try
            {
                await _statusesService.Update(new GetByIdSpecification <Status>(statusId), s => s.Name = newName, new GetProjectParticipationByKeySpec(projectId, actorId));

                return(Ok());
            }
            catch (Exception e)
            {
                return(BadRequest(e.Message + "\n" + e.InnerException));
            }
        }