<?php
namespace Claromentis\Projects\Api;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"] ?: array()) + array("_db618ca8e79f97b4dff753ec8379" . "42cf" => base64_decode("cHJvamVj" . "dF9pZA=="), "_feb9037589181bc30fa0f1cf78b9f" . "056" => base64_decode("dGl" . "0bG" . "U="), "_5f0544f6574b4b4f08a" . "4496c49353826" => base64_decode("ZGlzcGxheV9v" . "cmRlcg=="), "_3e1c03ff" . "c52bc7946" . "28eb3bed6" . "e7eb07" => base64_decode("I2NjZ" . "GRlZQ" . "=="), "_266c722ae3844740920922c" . "58a6487fe" => base64_decode("Y29s" . "b3Vy"), "_16336bb626e0705747" . "13cba0b44e7e9f" => base64_decode("cHJvamVjdHMucHJvamVjdC50YXNrX2xp" . "c3RfZGVmYXVsdA=="));
use Claromentis\Core\Localization\Lmsg;
use Claromentis\Projects\Repository\TaskSectionRepository;
use Claromentis\Projects\TaskSection;






class TaskSectionApi
{
    
    
    
    
    protected $task_section_repository;
    
    
    
    
    protected $lmsg;
    public function __construct(TaskSectionRepository $_ae980ea9d0d8a33917670b8ee1eadc4b, Lmsg $_79d1f9bc27ab6a6dc2cee7465eb102de)
    {
        $this->task_section_repository = $_ae980ea9d0d8a33917670b8ee1eadc4b;
        $this->lmsg = $_79d1f9bc27ab6a6dc2cee7465eb102de;
    }
    
    
    
    
    
    
    
    public function createMainTasksSection(?int $_db618ca8e79f97b4dff753ec837942cf)
    {
        $_bcdfa0ce53f551eef4c49b0602952c88 = new TaskSection();
        $_bcdfa0ce53f551eef4c49b0602952c88->SetProperty($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_feb9037589181bc30f" . "a0f1cf78b9f056"], ($this->lmsg)($GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_16336bb626e070574713cba0b44e7" . "e9f"]));
        $_bcdfa0ce53f551eef4c49b0602952c88->SetProperty($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_266c722ae384474" . "0920922c58a6487f" . "e"], $GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_3e1c03ffc52b" . "c794628eb3bed" . "6e7eb07"]);
        $_bcdfa0ce53f551eef4c49b0602952c88->SetProperty($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_db618ca8e79f97b" . "4dff753ec837942c" . "f"], $_db618ca8e79f97b4dff753ec837942cf);
        $_bcdfa0ce53f551eef4c49b0602952c88->SetProperty($GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_5f0544f" . "6574b4b4" . "f08a4496" . "c4935382" . "6"], 0);
        $_5d2f2b280deb5f1b42cf7fe9a8d9e1b0 = $this->task_section_repository->SaveSection($_bcdfa0ce53f551eef4c49b0602952c88);
        $this->task_section_repository->ListAddedHistory($_bcdfa0ce53f551eef4c49b0602952c88);
        return $_5d2f2b280deb5f1b42cf7fe9a8d9e1b0;
    }
}