<?php
namespace Claromentis\Projects\Api;

$GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"] = (@$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"] ?: array()) + array("_3e1c03ffc52bc794628eb3bed6e7eb0" . "7" => base64_decode("I2NjZGR" . "lZQ=="), "_16336bb626e070574713cba" . "0b44e7e9f" => base64_decode("cHJvamVjdHMucHJvamVjdC50YXNrX2xpc3" . "RfZGVmYXVsdA=="), "_feb9037589181bc30fa0f1cf" . "78b9f056" => base64_decode("dGl" . "0bG" . "U="), "_266c722ae3844740920" . "922c58a6487fe" => base64_decode("Y29sb" . "3Vy"), "_5f0544f6574b4b4f08a449" . "6c49353826" => base64_decode("ZGlzcGx" . "heV9vcm" . "Rlcg=="), "_db618ca8e79f97b4dff753" . "ec837942cf" => base64_decode("cHJvam" . "VjdF9p" . "ZA=="));
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["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_feb9037589181bc30fa0f1" . "cf78b9f056"], ($this->lmsg)($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_16336bb626e070574713cba0b44e7e9" . "f"]));
        $_bcdfa0ce53f551eef4c49b0602952c88->SetProperty($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_266c722ae" . "3844740920" . "922c58a648" . "7fe"], $GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_3e1c03ffc52bc794628eb3be" . "d6e7eb07"]);
        $_bcdfa0ce53f551eef4c49b0602952c88->SetProperty($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_db618ca8e79" . "f97b4dff753e" . "c837942cf"], $_db618ca8e79f97b4dff753ec837942cf);
        $_bcdfa0ce53f551eef4c49b0602952c88->SetProperty($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_5f0544f6574b4b4f08a4496c493538" . "26"], 0);
        $_5d2f2b280deb5f1b42cf7fe9a8d9e1b0 = $this->task_section_repository->SaveSection($_bcdfa0ce53f551eef4c49b0602952c88);
        $this->task_section_repository->ListAddedHistory($_bcdfa0ce53f551eef4c49b0602952c88);
        return $_5d2f2b280deb5f1b42cf7fe9a8d9e1b0;
    }
}