public IHttpActionResult CreateRetrospective([FromBody] string retrospectiveName)
        {
            var id = Guid.NewGuid();

            RetroStorageService.CreateRetrospective(id, retrospectiveName);
            return(Ok(id));
        }
 public IHttpActionResult DeleteRetrospective([FromUri] Guid id, [FromBody] string retrospectiveName)
 {
     RetroStorageService.DeleteRetrospective(id, retrospectiveName);
     return(Ok());
 }
 public IHttpActionResult DeleteComment([FromUri] Guid id, [FromBody] RetrospectiveComment retrospectiveComment)
 {
     RetroStorageService.RemoveComment(id, retrospectiveComment.RetrospectiveName, retrospectiveComment.CommentType, retrospectiveComment.Comment, retrospectiveComment.AddedBy);
     return(Ok());
 }
 public IHttpActionResult GetRetrospective(Guid id, string retrospectiveName)
 {
     return(RetroStorageService.GetRetrospective(id, retrospectiveName).ToJson(this));
 }
 public IHttpActionResult Retros()
 {
     return(RetroStorageService.GetAllRetrospectives().ToJson(this));
 }