public String OrarendHozzaad([FromBody] dynamic value)
        {
            WebApiResponse resp = new WebApiResponse();

            try
            {
                Guid Osztaly  = Guid.Parse(value.OsztalyID.ToString());
                Guid Tanterem = Guid.Parse(value.TanteremID.ToString());
                Guid Tanar    = Guid.Parse(value.TanarID.ToString());
                Guid Tantargy = Guid.Parse(value.TantargyID.ToString());
                int  Nap      = int.Parse(value.Nap.ToString());
                int  Ora      = int.Parse(value.Ora.ToString());

                dbmngr.OrarendHozzaad(Osztaly, Tanterem, Tanar, Tantargy, Nap, Ora);
                resp.ErrorCode = 0;
            }
            catch (OrarendMarLetezikError e)
            {
                resp.ErrorMessage = e.ErrorMessage;
                resp.ErrorCode    = e.ErrorCode;
            }
            catch (Exception e)
            {
                resp.ErrorCode    = -1;
                resp.ErrorMessage = e.Message;
            }

            return(JsonConvert.SerializeObject(resp));
        }