public bool AccountTemplateExist(string id) { var result = _templateRepository.AccountTemplateExist(id); return(result == true ? true : false); }